package com.atgugui.edustatistics;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

/**
 * 统计模块启动类
 */
@SpringBootApplication
@ComponentScan(basePackages = "com.atgugui")
@MapperScan(basePackages = "com.atgugui.edustatistics.mapper")
@EnableDiscoveryClient
@EnableFeignClients
@EnableSwagger2
@EnableCaching
public class EduStatisticsApplication {
    public static void main(String[] args) {
        SpringApplication.run(EduStatisticsApplication.class,args);
    }
}
